package com.gulimall.ware.dao;

import com.gulimall.ware.entity.WareOrderTaskDetailEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * 库存工作单
 * 
 * @author Rookie-886
 * @email ${email}
 * @date 2021-03-14 22:37:36
 */
@Mapper
public interface WareOrderTaskDetailDao extends BaseMapper<WareOrderTaskDetailEntity> {

    @Update("update wms_ware_order_task_detail set lock_status = #{lockStatus} where id = #{id}")
    int changeLockStatus(@Param("id") Long id, @Param("lockStatus") int lockStatus);
}
